﻿<local:BaseWizardWindow
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:PSE.Deployment.SetupBase.UI;assembly=PSE.Deployment.SetupBase"    
	x:Class="Sinacor.Deployment.Setup.UI.MSMQ"
	Title="Setup">

		<Grid>
		<Button HorizontalAlignment="Right" Style="{DynamicResource BotaoFechar}" VerticalAlignment="Top" Width="15" Height="15" Content="" Margin="0,15,15,0" x:Name="BtnClose"/>
		<TextBlock Margin="50,125,0,0" VerticalAlignment="Top" FontSize="12" TextWrapping="Wrap" HorizontalAlignment="Left" Width="860" Foreground="#FF333333"><Run FontSize="24" FontWeight="Bold" Foreground="#FF336699" Text="Criação da Fila - MSMQ" Language="pt-br"/><LineBreak/><LineBreak/><Run Text="Para que os logs do sistema possam ser melhor gerenciados pelo SINACOR, é preciso instalar e criar uma fila MSMQ.
Com isso, os logs serão armazenados corretamente em caso de erro do sistema. 
Caso você esteja instalando o MSMQ em sua própria máquina, esta tela mostrará 'localhost' no campo Máquina. 
Se o MSMQ for instalado em outra máquina/servidor, digite o nome correspondente. " Language="pt-br"/></TextBlock>
		<Button Margin="0,0,140,50" Style="{DynamicResource setupBt}" x:Name="BtnPrevious" Content="Retornar" Background="{DynamicResource BtBackColor}" VerticalAlignment="Bottom" Height="21" Foreground="#FFFFFFFF" HorizontalAlignment="Right" Width="80"/>
		<Button Margin="0,0,50,50" Style="{DynamicResource setupBt}" x:Name="BtnNext" Content="Avançar" Background="{DynamicResource BtBackColor}" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="80" Height="21" Foreground="#FFFFFFFF"/>
		<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Text="Máquina" TextWrapping="Wrap" FontSize="12" Foreground="#FF333333" Margin="50,247,0,0" Height="Auto" Width="Auto" />
		<TextBox Margin="133,243,305,0" TextChanged="TxtMachineName_TextChanged" x:Name="TxtMachineName" Style="{DynamicResource TextBoxPSE}" VerticalAlignment="Top" BorderBrush="{x:Null}" Text="{Binding MachineName}" TextWrapping="Wrap" Height="21" FontSize="12" IsEnabled="True" />
		<TextBlock HorizontalAlignment="Left" Margin="50,282,0,0" VerticalAlignment="Top" FontSize="12" Foreground="#FF333333" Text="Nome da Fila" TextWrapping="Wrap" Height="Auto" Width="Auto" />
		<TextBox x:Name="TxtQueueName" TextChanged="TxtQueueName_TextChanged" Margin="133,279,305,0" Style="{DynamicResource TextBoxPSE}" BorderBrush="{x:Null}" Text="{Binding QueueName}" TextWrapping="Wrap" FontSize="12" IsEnabled="True" Height="21" VerticalAlignment="Top" />
        <RadioButton FontSize="12" Foreground="#FF333333" HorizontalAlignment="Left" Margin="133,318,0,0" Name="rdbPrivate" Width="60" IsChecked="True" GroupName="QueueType" Height="16" VerticalAlignment="Top">Privada</RadioButton>
        <RadioButton FontSize="12" Foreground="#FF333333" HorizontalAlignment="Left" Margin="133,340,0,0" Name="rdbPublic" GroupName="QueueType" Width="60" Height="16" VerticalAlignment="Top">Pública</RadioButton>
        <TextBlock FontSize="12" Foreground="#FF333333" HorizontalAlignment="Left" Margin="50,319,0,0" Text="Tipo da Fila" TextWrapping="Wrap" Width="61.377" Height="14" VerticalAlignment="Top" />
        <RadioButton FontSize="12" Foreground="#FF333333" GroupName="LocalType" Height="16" HorizontalAlignment="Left" IsChecked="True" Margin="283,317,0,0" Name="rdbLocal" VerticalAlignment="Top" Width="60" Click="rdbRemoto_Click">Local</RadioButton>
        <RadioButton FontSize="12" Foreground="#FF333333" GroupName="LocalType" Height="16" HorizontalAlignment="Left" Margin="283,339,0,0" Name="rdbRemoto" VerticalAlignment="Top" Width="60" Click="rdbRemoto_Click" >Remoto</RadioButton>
        <TextBlock FontSize="12" Foreground="#FF333333" Height="14" HorizontalAlignment="Left" Margin="200,318,0,0" Text="Local da Fila" TextWrapping="Wrap" VerticalAlignment="Top" Width="77" />
    </Grid>
</local:BaseWizardWindow>